// packageA/pages/cash/cash.js
Page({
  /**
   * 页面的初始数据
   */
  data: {
    imgList: [
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/1.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/2.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/3.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/4.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/5.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/6.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/7.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/8.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/9.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/10.png?t=' + new Date(),
      'http://m.xianmaiyangsheng.com/xcxImg/kushu/11.png?t=' + new Date()
    ],
    url: 'https://zzycash.com'
  },

  copy() {
    wx.setClipboardData({
      data: this.data.url,
      success: function (res) {
        // wx.showModal({
        //   title: '提示',
        //   content: '复制成功,记得粘贴到电脑浏览器哦',
        //   showCancel: false
        // })
      }
    })
  },

  toNewApp() {
    wx.navigateToMiniProgram({
      appId: 'wxdd7f62a9564626ab'
    })
  },

  toNewMiniApp() {
    wx.navigateToMiniProgram({
      appId: 'wxecc2b64899d3e09c'
    })
  },

  toStore(e) {
    wx.navigateToMiniProgram({
      appId: 'wxecc2b64899d3e09c',
      path: ''
    })
  },

  call() {
    wx.makePhoneCall({
      phoneNumber: '18117542833'
    })
  }
})
